from PyQt5.Qt import *
import sys
class Window(QWidget):
    def __init__(self):
        super().__init__()
        self.setWindowTitle("")
        self.resize(1000,800)
        self.setMinimumSize(800,600)
        self.setMaximumSize(1000,800)
        self.setWindowFlags(Qt.CustomizeWindowHint) # 去掉标题栏



if __name__=='__main__':
    app = QApplication(sys.argv)
    w = Window()
    w.show()
    sys.exit(app.exec_())